/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tardistv.model;

/**
 *
 * @author Tardis TV Team
 */
public class Episode {

    private String _name;
    private String _number;
    private boolean _aired;
    private String _torrent;
    private boolean _downloaded;

    public boolean isDownloaded() {
        return _downloaded;
    }

    public void setDownloaded(boolean _downloaded) {
        this._downloaded = _downloaded;
    }

    private boolean isTorrentAvailable(){
        return (_torrent !=null && !_torrent.isEmpty());
    }

    public String getTorrent() {
        return _torrent;
    }

    public void setTorrent(String _torrent) {
        this._torrent = _torrent;
    }

    public String getName() {
        return _name;
    }

    public void setName(String _name) {
        this._name = _name;
    }

    public boolean isAired() {
        return _aired;
    }

    public void setAired(boolean _aired) {
        this._aired = _aired;
    }

    public String getNumber() {
        return _number;
    }

    public void setNumber(String _number) {
        this._number = _number;
    }
}
